package dk.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.ReturnData.ResponseData;

import dk.service.ApiService;

@RestController
@RequestMapping("/api")
public class RequestLogController {
@Autowired
ApiService apiservice;
@PostMapping("GetRequestLogByPage")
public ResponseData GetRequestLogByPage(Integer pagenum,Integer count) {
	return apiservice.GetRequestLogByPage(pagenum,count);
	
}
@PostMapping("GetAllCount")
public ResponseData GetAllCount() {
	return apiservice.GetAllCount();
}
}
